package com.business.business.web.mapper.fireplan;

import cn.hutool.json.JSONObject;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.business.business.model.fireplan.FireFlanStorey;
import com.business.business.model.fireplan.FirePlanCoordinate;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: YangYu
 * @ClassName: FireFlanStoreyMapper
 * @Date: Created in 10:15 2022/7/25
 * @Description: 楼层
 */
@Mapper
public interface FireFlanStoreyMapper extends BaseMapper<FireFlanStorey> {

    IPage<FireFlanStorey> storeyListPage(IPage page, @Param("param") JSONObject jsonParam);
    /**
     * 批量插入坐标
     * @param list
     */
    void insertZB(List<FirePlanCoordinate> list);

    void batchUpdate(List<String>  list,String storeyId);
}
